import Vue from "vue";
import Vuex from "vuex";

Vue.use(Vuex);

export default new Vuex.Store({
  state: {
    isShowAside: false, //false默认不折叠,true为折叠
  },
  mutations: {
    showAside(state) {
      state.isShowAside = !state.isShowAside;
    },
  },
  actions: {},
  modules: {},
});
